package com.ysu.his.entity.prescription;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysu.his.base.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 处方支付结果实体类
 */
@Data
public class PrescriptionPaymentRecord extends BaseEntity
{
    //唯一标识
    private Long id;

    //处方id
    private Long prescriptionId;

    //处方金额
    private Double amount;

    //支付时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date paymentTime;

    //支付状态
    private String paymentStatus;

    //支付方式
    private String paymentMethod;

}
